package cn.buk.api.shdl.dto;

import java.util.List;

/**
 * @author yfdai
 */
public class FlightShoppingDto {

  /**
   * 错误代码
   * 0-无错误
   */
  private int errcode;
  /**
   * 错误信息
   */
  private String errmsg;

  /**
   * 提醒信息
   */
  private String warning;

  private ErrorInformation errorInformation;

  private List<FlightInfo> flights;

  /**
   * 所有solutions 用到
   * 的运价集合
   */
  private List<FareInfo> fares;

  /**
   * 所有的返回结果
   * 信息
   *
   * 搜索指定的服务等级时返回
   * solutions 节点，搜索多服务等
   * 级时返回空
   */
  private List<SolutionInfo> solutions;

  private List<String> multicabinSolutions;

  private List<AgencyInfo> agencies;

  private DebugInformation debugInformation;

  private String uuid;

  private String requestId;



  public List<FlightInfo> getFlights() {
    return flights;
  }

  public void setFlights(List<FlightInfo> flights) {
    this.flights = flights;
  }

  public List<FareInfo> getFares() {
    return fares;
  }

  public void setFares(List<FareInfo> fares) {
    this.fares = fares;
  }

  public List<SolutionInfo> getSolutions() {
    return solutions;
  }

  public void setSolutions(List<SolutionInfo> solutions) {
    this.solutions = solutions;
  }

  public List<String> getMulticabinSolutions() {
    return multicabinSolutions;
  }

  public void setMulticabinSolutions(List<String> multicabinSolutions) {
    this.multicabinSolutions = multicabinSolutions;
  }

  public List<AgencyInfo> getAgencies() {
    return agencies;
  }

  public void setAgencies(List<AgencyInfo> agencies) {
    this.agencies = agencies;
  }

  public DebugInformation getDebugInformation() {
    return debugInformation;
  }

  public void setDebugInformation(DebugInformation debugInformation) {
    this.debugInformation = debugInformation;
  }

  public String getRequestId() {
    return requestId;
  }

  public void setRequestId(String requestId) {
    this.requestId = requestId;
  }

  public String getUuid() {
    return uuid;
  }

  public void setUuid(String uuid) {
    this.uuid = uuid;
  }

  public int getErrcode() {
    return errcode;
  }

  public void setErrcode(int errcode) {
    this.errcode = errcode;
  }

  public String getErrmsg() {
    return errmsg;
  }

  public void setErrmsg(String errmsg) {
    this.errmsg = errmsg;
  }

  public String getWarning() {
    return warning;
  }

  public void setWarning(String warning) {
    this.warning = warning;
  }

  public ErrorInformation getErrorInformation() {
    return errorInformation;
  }

  public void setErrorInformation(ErrorInformation errorInformation) {
    this.errorInformation = errorInformation;
  }
}
